# 1、 s = 'IloveChina!Iloveprogramming!'  请直接写出下面字符串切片操作后的结果：
# s[:] = IloveChina!Iloveprogramming!          s[2]= o             s[1:5:2] = lv
# s[-1:-5:-2] = !n                 s[-6:-1:-1] =

s = 'IloveChina!Iloveprogramming!'
print(f"s[:]={s[:]}")
print(f"s[2]={s[2]}")
print(f"s[1:5:2]={s[1:5:2]}")
print(f"s[-1:-5:-2]={s[-1:-5:-2]}")
print(f"s[-6:-1:-1]={s[-6:-1:-1]}")